package kr.hkit.powerjava.chapter07.submit;

class Movie {

	private String name;
	private double jumsu;
	private String director;
	private int publishedYear;

	public void setName(String name) {
		this.name = name;
	}
	public void setJumsu(double jumsu) {
		this.jumsu = jumsu;
	}
	public void setDirector(String director) {
		this.director = director;
	}
	public void setPublishedYear(int publishedYear) {
		this.publishedYear = publishedYear;
	}
	
	void print() {
		System.out.println("영화 제목은 : " + name + "\n" + "평점은: " + jumsu + "\n"
				+ "감독은: " + director + "\n" + "개봉 년도는: " + publishedYear
				+ "입니다. ");
	}
}
